﻿namespace Admin.NET.Core.Btms;

[SugarTable("BasConfig", "系统配置表")]
public class BasConfig : EntityBaseNoId
{
    [SugarColumn(IsIdentity = false, ColumnDescription = "参数代码", IsPrimaryKey = true, Length = 50)]
    public string code { get; set; }

    [SugarColumn(ColumnDescription = "一级分类", Length = 100)]
    public string category1 { get; set; } = "";

    [SugarColumn(ColumnDescription = "二级分类", Length = 100)]
    public string category2 { get; set; } = "";

    [SugarColumn(ColumnDescription = "参数标题", Length = 250)]
    public string title { get; set; } = "";

    [SugarColumn(ColumnDescription = "数值必须有默认值", Length = 250)]
    public string val { get; set; } = "";

    [SugarColumn(ColumnDescription = "是否可以改变，默认是")]
    public bool allowEdit { get; set; }

    [SugarColumn(ColumnDescription = "备注", Length = 512)]
    public string remark { get; set; } = "";

}
